import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import home from '@/components/home'
import dtls from '@/components/dtls'
import canvas from '@/components/canvas'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    }, {
      path: '/home',
      name: 'home',
      component: home
    }, {
      path: '/dtls',
      name: 'dtls',
      component: dtls
    }, {
      path: '/canvas',
      name: 'canvas',
      component: canvas
    }
  ]
})
